home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / pascal / xlib.zip / XVOLUME.DOC < prev    next >
Text File  |  1992-09-05  |  963b  |  37 lines

  1.  
  2.                                 XVolume
  3.                                 -------
  4.  
  5. This unit give you object-oriented access to the volume-label of
  6. the drives in your computer.
  7.  
  8.  
  9. TVolumeLabel
  10. ~~~~~~~~~~~~
  11.  
  12. "TVolumeLabel" implements a general object for access the volume-labels
  13. on drives.
  14.  
  15.  Fields:
  16.  -------
  17.  Drv      : Char         The Drive which should be used
  18.  
  19.  Methods
  20.  -------
  21.  constructor Init( ADrv:Char );
  22.    Initialize the object for a given drive. ADrv can be ranged from
  23.    'A' to 'Z'.
  24.  
  25.  procedure   Put    ( Labl:PathStr ); virtual;
  26.    Set the Volumelabel of the drive to the value in "Labl".
  27.  
  28.  procedure   Delete ( Labl:PathStr ); virtual;
  29.    Deletes the label.
  30.  
  31.  procedure   Rename ( Labl:PathStr ); virtual;
  32.    Deletes an existing label and sets a new one to it.
  33.    This method should be used for setting a label.
  34.  
  35.  function    Get: PathStr; virtual;
  36.    Return the label currently assigned to the specific drive
  37.